package com.mail.portal.modular.model;

import javax.persistence.Id;
import java.util.Date;

/**
 * 创建人： Shi Heng
 * 创建时间：2018-04-09 16:19
 * QQ：374696376
 * Description：
 */
public class News {
    private static final long serialVersionUID = 1L;

    @Id
    private Integer id;
    /**
     * 标题
     */
    private String  title;
    /**
     * 类型
     */
    private Integer type;
    /**
     * 背景图片
     */
    private String img_src;
    /**
     * 内容
     */
    private String  content;
    /**
     * 创建时间
     */
    private Date create_time;
    /**
     * 创建人
     */
    private Integer creater;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Integer getCreater() {
        return creater;
    }

    public void setCreater(Integer creater) {
        this.creater = creater;
    }

    public String getImg_src() {
        return img_src;
    }

    public void setImg_src(String img_src) {
        this.img_src = img_src;
    }
}
